net/http.persistConn.br (field)
8 uses
net/http (current package)
transport.go#L1871: pconn.br = bufio.NewReaderSize(pconn, t.readBufferSize())
transport.go#L2005: br *bufio.Reader // from conn
transport.go#L2205: _, err := pc.br.Peek(1)
transport.go#L2351: if n := pc.br.Buffered(); n > 0 {
transport.go#L2352: buf, _ := pc.br.Peek(n)
transport.go#L2386: if peek, err := pc.br.Peek(1); err == nil && len(peek) == 1 {
transport.go#L2395: resp, err = ReadResponse(pc.br, rc.treq.Request)
transport.go#L2426: resp.Body = newReadWriteCloserBody(pc.br, pc.conn)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |